import request from './request'

const getDetail = {
    playListDetail(id){
        return request({
            url:'/api/playlist/detail',
            params:{
                id
            }
        })
    },
    getComment(id,limit,offset){
        return request({
            url:'/api/comment/playlist',
            params:{
                id,
                limit,
                offset
            }
        })
    },
    play(id){
        return request({
            url:'/api/song/url',
            params:{
                id
            }
        })
    }
}

export default getDetail